package com.compty.paint.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * @Todo:绘画作品形状(1,正方形)(2,长方形(竖))(3,长方形(横))
 * @author: zhuqh
 * @CreateTime:2011-5-31 下午07:09:29
 */
@Entity
@Table(name = "t_sharpinfo")
@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class SharpInfo implements java.io.Serializable{

	private static final long serialVersionUID = 2421046483586138724L;
	
	private Long id;

	/************ 类型名称  ****************/
	private String name;
	
	private int order_sequence;

	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "name", length=40)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "order_sequence")
	public int getOrder_sequence() {
		return order_sequence;
	}

	public void setOrder_sequence(int orderSequence) {
		order_sequence = orderSequence;
	}
}
